<html>
    <head>
        <title>Title</title>
        <meta charset="UTF-8">
    </head>
    <body>
        <section class="membership">
            <?php if (empty($session['member'])): ?>
                <p><a href="/members/login">Sign In</a></p>
                <p><a href="/members/registration">Sign Up</a></p>
            <?php else: ?>
                <h2>Hello, <?php echo $session['member']['login'] ?></h2>  
                <p><a href="/members/logout">Sign Out</a></p>
            <?php endif; ?>
        </section>
        <div><?php echo $this->renderContent(); ?></div>
    </body>
</html>
